<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<%@ include file="/WEB-INF/include/head.jsp"%>

<html>
<head>
	<title>供应商管理管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/oa/supplier/">单病种住院异常</a></li>
		<li><a href="${ctx}/oa/supplier/form">供应商管理添加</a></li>
	</ul>
	<form id="searchForm" modelAttribute="supplier" action="${ctx}/oa/supplier" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<table>
			<tr>
				<td>查询类别：
					<select>
						<option>案件</option>
						<option>医院</option>
						<option>代理人</option>
					</select>
				</td>
				<td width="95">&nbsp;&nbsp;&nbsp;查询条件：</td><td><input type="text"  class="form-control"/></td>
				<td>&nbsp;&nbsp;&nbsp;监控日期：</td><td><input type="text" class="Wdate input-medium"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/></td>
				<td>&nbsp;&nbsp;至&nbsp;&nbsp;</td><td><input type="text" class="Wdate input-medium"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/></td>
				<td><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td>
			</tr>
		</table>
	</form>
	<tags:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead><tr><th>#</th><th>姓名</th><th>赔案号</th><th>机构名称</th><th>科室名称</th><th>初始诊断</th><th>住院编码</th><th>入院日期</th><th>出院日期</th><th>床号</th><th>医疗总额</th></tr></thead>
		<tbody>
		<c:forEach items="${page.list}" var="supplier" varStatus="staus">
			<tr>
				<td>${status.index+1}</td>
				<td><a href="${ctx}/oa/supplier/form?id=${supplier.id}">${supplier.name}</a></td>
				<td>${supplier.name}</td>
				<td>${supplier.address}</td>
				<td>${supplier.remarks}</td>
				<td>${supplier.remarks}</td>
				<td>${supplier.remarks}</td>
				<td>${supplier.remarks}</td>
				<td>
    				<a href="${ctx}/oa/supplier/form?id=${supplier.id}">修改</a>
					<a href="${ctx}/oa/supplier/delete?id=${supplier.id}" onclick="return confirmx('确认要删除该供应商管理吗？', this.href)">删除</a>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>
